##############################################################
## MOD Title: Effects Store Add-On: Classic Entry
## MOD Author: Thoul < thoul@phpbbsmith.com > (Jeremy Rogers) http://www.phpbbsmith.com
## MOD Description: Adds a Shop 2 style effects editor button in Shop 3 ACP.
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 2 Minutes
## Files To Edit:
##		admin/admin_shop.php,
##		templates/subSilver/admin/shop_config_body.tpl
## Included Files:
##		shop_effects_entry.tpl
## License: contrib/license.txt GNU General Public License v2
##############################################################
## Author Notes:
##
## This is an optional add-on for Effects Store for Shop 3.  When this
## add-on is installed, a button is placed in the Shop Settings admin panel
## page. The button will launch the Effects Store editor page when clicked.
## Shop 2.x had such a feature and this add-on is included for those that
## may also want this easy access in Shop 3.
##
## The Effects Store editor can always be launched by selecting the name of the
## effects shop from the drop down list of all shop names in the Shop Settings
## page. It may be a bit more convenient for you to have the button.
##
## Install Effects Store for Shop 3 before installing this add-on.
##
## This add-on is not compatible with Shop 3.1.0 or later!  If you are using
## such a version, please see contrib/shop310_acp/ instead.
##
##############################################################
## BEFORE FOLLOWING THESE INSTRUCTIONS, YOU SHOULD BACK UP ALL RELATED FILES.
##############################################################

#
#-----[ COPY ]------------------------------------------
#

contrib/entry_addon/shop_effects_entry.tpl to templates/subSilver/admin/shop_effects_entry.tpl

#
#-----[ OPEN ]------------------------------------------
#
admin/admin_shop.php

#
#-----[ FIND ]------------------------------------------
#

<?php

#
#-----[ AFTER, ADD ]------------------------------------------
#

// This file modified for Effects Store Add-On: Classic Entry

#
#-----[ FIND ]------------------------------------------
#

	// Select Variables

#
#-----[ BEFORE, ADD ]------------------------------------------
#

//------------------------------------------------------------------------------
// Effects Store Add-On: Classic Entry - Begin Code Alteration
//
	$effects_admin->show_effects_entry();
//
// Effects Store Add-On: Classic Entry - End Code Alteration
//------------------------------------------------------------------------------

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/admin/shop_config_body.tpl

#
#-----[ FIND ]------------------------------------------
#

<h1>{L_SHOPTITLE}</h1>

#
#-----[ BEFORE, ADD ]------------------------------------------
#

<!-- This file modified for Effects Store Add-On: Classic Entry -->

#
#-----[ FIND ]------------------------------------------
#

<br /><br />

<form action="{S_CONFIG_ACTION}" method="post">
  <input type="hidden" name="action" value="editshop" />
  <table width="50%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr> 
	  <th class="thHead" colspan="2">{L_TABLE_TITLE3}</th>

#
#-----[ BEFORE, ADD ]------------------------------------------
#

<!-- Effects Store Add-On: Classic Entry - Begin Code Alteration -->
{EFFECTS_ENTRY}
<!-- Effects Store Add-On: Classic Entry - End Code Alteration -->

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM